package com.fessc.develop.model.enums;

import lombok.Getter;

@Getter
public enum EnumResultType {

    SUCCESS("000000", "交易成功"),

    FAIL("999999", "交易失败"),

    COM_SUCCESS("000000", "银行报文返回成功"),

    COM_FILE_SUCCESS("0000000000", "文件申请成功"),

    COM_TRAN_STATUS_SUCCESS("S", "银行交易成功"),

    COM_TRAN_STATUS_FAIL("F", "银行交易失败"),

    COM_TRAN_STATUS_PROCESS("P", "银行交易处理中"),

    COM_TRAN_HANDING("HANDING", "交易处理中"),

    COM_TRAN_UNHAND("UNHANDING", "交易未处理"),

    COM_TRAN_FINISH("FINISH", "交易完成（成功）"),

    COM_TRAN_CANCEL("CANCEL", "交易取消（失败）"),

    COM_RES_SUCCESS("00", "处理成功"),

    COM_RES_FAIL("01", "处理失败"),

    CCB_SEND("send", "已发送银行"),

    CCB_SUCCESS("00", "处理成功"),

    CCB_FAIL("01", "处理失败"),

    CCB_REPEAT("02", "重复交易"),

    CCB_VERIFY_SUCCESS("1", "已备案"),

    CCB_VERIFY_FAIL("2", "未备案"),

    CCB_SETTLE_TRADE_SUCCESS("Y", "已跨境付汇"),

    CCB_SETTLE_TRADE_FAIL("N", "未跨境付汇"),

    CHECK_BANK_SUCCESS("00", "对账文件交易成功"),

    CHECK_BANK_FAIL("01", "对账文件交易失败");

    private final String statusCode;

    private final String msg;

    EnumResultType(String statusCode, String msg) {
        this.statusCode = statusCode;
        this.msg = msg;
    }

}
